import Vue from "vue";
import SvgIcon from "elan-svg"; // svg component

// register globally
Vue.component("elan-svg", SvgIcon);

const req = require.context("./icons", false, /\.svg$/);
const requireAll = (requireContext) =>
  requireContext.keys().map(requireContext);
requireAll(req);
